<?php
namespace app\admin\validate;

use think\Validate;

class News extends Validate
{
    protected $rule = [
        'uniquekey'  => 'require|unique:news',
    ];

    protected $message = [
        'uniquekey.require'  => '请选择导航位置',
    ];
}